package cn.getech.data.development.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 实时任务告警对象
 * </p>
 *
 * @author hujz
 * @since 2021-04-08
 */
@Data
@Accessors(chain = true)
@TableName("bdp_real_task_alarm_object")
public class BdpRealTaskAlarmObject implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 告警记录id
     */
    @TableField("alarm_id")
    private Integer alarmId;

    /**
     * 告警对象id
     */
    @TableField("object_id")
    private Integer objectId;

    /**
     * 告警对象名
     */
    @TableField("object_name")
    private String objectName;

    /**
     * 告警对象类型
     */
    @TableField("object_type")
    private Integer objectType;


}
